//
//  SFCDiffViewController.h
//  SVNForCocoa
//
//  Created by Jeremy Pereira on 23/12/2013.
//  Copyright (c) 2013 Jeremy Pereira. All rights reserved.
//
/*!
 *    @file
 *    @brief Declarations associated with the SFCDiffViewController.
 *
 */

#import <Foundation/Foundation.h>

@class SFCDiffCollection ;

/*!
 *    @brief Controller for the diff views.
 *
 *    Each hunk in a diff is represented as a single view inside an NSStackView.
 *    When the diffs property changes, all the hunks in the stack are removed
 *    and replaced with hunks for the new diff.
 */
@interface SFCDiffViewController : NSObject <NSOutlineViewDataSource>

/*!
 *    @brief The stack view that will be used for displaying hunks.
 */
@property (nonatomic, strong) IBOutlet NSOutlineView* view;
/*!
 *    @brief The Diff that is displayed by this controller's view.
 */
@property (nonatomic, strong) SFCDiffCollection* diffs;

@end
